﻿using System;
using System.Net;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;
using System.Windows.Ink;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Animation;
using System.Windows.Shapes;

namespace ThatsMeSDK.Core
{
    //Passing Delegates (internal)
    internal delegate void LoadDataCompleted(object sender, LoadDataCompletedEventArgs e, ServiceHandlerMethod c, object Tag);
    internal delegate void LoadStringCompleted(object sender, LoadStringCompletedEventArgs e, ServiceHandlerMethod c, object Tag);

    //Passing Delegates (public)
    public delegate void GetMemberCompleted(object sender, GetMemberCompletedEventArgs e);
    public delegate void LoadPicturesCompleted(object sender, LoadPicturesCompletedEventArgs e);
    public delegate void AuthenticateCompleted(object sender, AuthenticateCompletedEventArgs e);
    public delegate void CountMessagesCompleted(object sender, CountMessagesCompletedEventArgs e);
    public delegate void LoadMessageCompleted(object sender, LoadMessageCompletedEventArgs e);
    public delegate void LoadMessagesCompleted(object sender, LoadMessagesCompletedEventArgs e);
    public delegate void LoadUserPicCategoriesCompleted(object sender, LoadUserPicCategoriesCompletedEventArgs e);
    public delegate void LoadBooleanCompleted(object sender, LoadBooleanCompletedEventArgs e);
    public delegate void LoadPictureCompleted(object sender, LoadPictureCompletedEventArgs e);

    //GenericServiceHandlerEvent Delegates
    internal delegate void ServiceHandlerMethod(object sender, EventArgs e);
}
